WooCommerce\PayPalCommerce\OrderTracking\Endpoint\OrderTrackingEndpoint S

Total Complexity 45
Dependencies 11
Dependents 8
Total lines 537
Lines of code 270
Logical lines of code 140
Comment lines 170
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
add_tracking_information()
S
50 7 27
list_tracking_information()
S
48 5 32
handle_request()
S
49 5 30
validate_tracking_info()
S
52 5 25
get_tracking_information()
S
50 4 29
update_tracking_information()
S
51 4 25
generate_request_data()
S
53 3 21
save_tracking_metadata()
S
63 3 11
create_shipment()
S
55 2 22
throw_paypal_api_exception()
S
57 1 18
find_tracker_id()
S
77 2 3
__construct()
S
65 1 9
nonce()
S
80 1 3
request_headers()
S
71 1 6
throw_runtime_exception()
S
66 1 9